package com.tpp.threat_perception_platform.service.impl;

import com.tpp.threat_perception_platform.dao.AppVulnerabilityMapper;
import com.tpp.threat_perception_platform.service.AppVulnerabilityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class AppVulnerabilityServiceImpl implements AppVulnerabilityService {
    @Autowired
    private AppVulnerabilityMapper appVulnerabilityMapper;
    @Override
    public List<Map<String, Object>> getAllAppVulnerabilities() {
        return appVulnerabilityMapper.findAll();
    }
}
